﻿<div ng-include src="'tpl/public/header.html'"></div>
<div class="contents">
  <ol class="breadcrumb">
    <li> <a href="#/index/panel">首页</a> </li>
    <li> <a href="#/product/list?t={{t}}">产品列表</a> </li>
    <li> 产品解析报告 </li>
  </ol> 

  <tabset class="product-tabs">
    <tab heading="项目概要" ng-click="changeTab('xmgyUrl')" has-auth where="btn" who="PRODUCT_REPORT">
      <iframe ng-src="{{tabUrl.xmgyUrl}}"></iframe>
    </tab>
    <tab heading="结构图" ng-click="changeTab('jgtUrl')" has-auth where="btn" who="PRODUCT_REPORT">
      <iframe style="height:800px" ng-src="{{tabUrl.jgtUrl}}"></iframe>
    </tab>
    <tab heading="还款来源" ng-click="changeTab('hklyUrl')" has-auth where="btn" who="PRODUCT_REPORT">
      <iframe ng-src="{{tabUrl.hklyUrl}}"></iframe>
    </tab>
    <tab heading="资金用途" ng-click="changeTab('zjytUrl')" has-auth where="btn" who="PRODUCT_REPORT">
      <iframe ng-src="{{tabUrl.zjytUrl}}"></iframe>
    </tab>
    <tab heading="风控措施" ng-click="changeTab('fkcsUrl')" has-auth where="btn" who="PRODUCT_REPORT">
      <iframe style="height:1000px" ng-src="{{tabUrl.fkcsUrl}}"></iframe>
    </tab>
    <tab heading="交易对手" ng-click="changeTab('rzfUrl')" has-auth where="btn" who="PRODUCT_REPORT">
      <iframe id="reportRzf" style="height:1760px" ng-src="{{tabUrl.rzfUrl}}"></iframe>
    </tab>
    <tab heading="发行方" ng-click="changeTab('fxfUrl')" has-auth where="btn" who="PRODUCT_REPORT">
      <iframe ng-src="{{tabUrl.fxfUrl}}"></iframe>
    </tab>
    <tab heading="相关资料" ng-click="changeTab('xgzlUrl')" has-auth where="btn" who="PRODUCT_REPORT">
      <iframe ng-src="{{tabUrl.xgzlUrl}}"></iframe>
    </tab>
    <li style="width:30px; height:39px; float:right; line-height: 39px;">&nbsp;</li>
    <li style="height:39px; float:right; line-height: 39px;">
      <button type="button" ng-click="reportPostCancel();" class="btn btn-default">取消发布</button>
    </li>
    <li style="width:60px;height:39px; float:right; line-height: 39px;">
      <button type="button" ng-click="reportPost();" class="btn btn-default">发布</button>
    </li>
    <li style="width:60px;height:39px; float:right; line-height: 39px;">
      <button type="button" ng-click="previewReport();" class="btn btn-default">预览</button>
    </li>
    
  </tabset> 
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8" ></div>